Skip to main content

Accessing Sensor via USB

The CTU includes a USB Type-B (USB-B) connection that provides direct communication with the connected sensor.

When connected to a PC, the USB connection can be used to:

  • Access the sensor terminal interface
  • Configure sensor settings
  • Download stored sensor data
  • Update sensor firmware
  • Perform maintenance operations

1. Create an Initialisation File​

Create a text file in Notepad containing the following line:

baud_rate=76800

Save the file with a .ini extension, for example:

anb.ini
Ensure that the file is saved as .ini and not .ini.txt

To save it as anb.ini in notepad:
File → Save As → "anb.ini" (include the quotation marks)
Change Save as type to: All Files (*.*)
Click Save

If you've already saved it as anb.ini.txt, you can:
Open File Explorer, enable file extensions:
View → Show → File name extensions
Rename: anb.ini.txt to anb.ini
Windows will warn you about changing the extension, click Yes.

2. Launch anb_utils​

Open a Windows Command Prompt or PowerShell window.
(You can do this by typing cmd or powershell into the Windows search bar and hitting Enter.)

Navigate to the directory containing both anb_utils.exe and the .ini file.
(Use cd.. to move up one directory level and dir to list the contents of the current directory.)

Enter the following command to run the utility:
(e.g. in this example the .ini file is called anb.ini)

anb_utils.exe anb.ini

anb_utils will start using the required baud rate of 76800.

3. Enable Passthrough Mode​

Within anb_utils:

Select Option 3 – Command Line Prompt
Type: \p1
Press Enter

This places the CTU into passthrough mode, allowing direct communication with the connected sensor while temporarily bypassing the touchscreen interface.

Once passthrough mode has been enabled, the display will show:

Device No Response

This is normal and indicates that the CTU has temporarily handed communication control to anb_utils.

You can now communicate directly with the sensor to download stored data, update firmware, view and change settings and perform maintenance operations.

4. Exit Passthrough Mode​

When you have finished communicating with the sensor:

Select Option 3 – Command Line Prompt
Type: \p0
Press Enter

The CTU will resume normal communication with the sensor and the touchscreen interface will become active again.

If you require further support please contact support@anbsensors.com